|
|
The sound element is used to play sound. The element can play any sound format QuickTime supports. The sound element has a built in play list function which will automatically manage a list of URL's and play the next sound when the previous file is finished playing. The sound element plays streaming mp3's via HTTP. The sound element can be used to play a continuous looping ambient sound, a simple click sound, music, etc.
- Attribute
- State
- Position
- Size
- Duration
- URL: Any
single track QuickTime movie or sound file.
- Buffer: Controls how much of the sound file is buffered into memory.
- Auto Stream: Stores x number of seconds into a memory buffer. The default is 2. If an audio file is skipping or pausing during screen switching, increase the number of seconds until the problem is solved. The auto stream is not accurate on Variable Bit Rate audio files.
- Stream: Stream allows for complete control over the buffering of the audio file. 8 buffers can be set to control the playback of the audio. The first buffer can be set to buffer an amount from 4 to 256 Kilobytes. Each Kilobyte will directly effect the memory a project needs. Next buffer can be set to create a an additional 2 to 8 buffers. These additional buffers can buffer a different size of memory than the first buffer. The Fill All check box tells the Sound element to fill all the buffers before beginning to play a sound file.
- All: Will buffer the entire audio file into memory.
- Channel: Channel specifies when to open and close the audio channel.
- Open At Start: Specifies to open the audio channel and fills the memory buffers when the file is opened. This is the normal behavior of an iShell element. It is recommended to deselect Open At Start for audio over the Internet. Not selecting this will allow other elements to load and not make other elements wait for the audio buffers to be filled.
- Close At Stop: Specifies closing the audio channel and releasing all the memory it uses when the file is finished playing.
|